<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    *{
      padding: 0;
      font-weight: bold;
    }
  </style>
</head>

<body>

</body>
<script>
  //https://blog.csdn.net/weixin_30622107/article/details/98529774?depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-1&utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-1

  // https://zhuanlan.zhihu.com/p/58737882
  console.table();
  console.dir();
  console.trace(); //知道消息是哪里打印出来的
  console.time() && console.timeEnd(); //控制台会打印出两次之间的时间差(分析函数的性能)
  console.assert() //类型断言
  // 打印有颜色的控制台了吧
  console.info("%c哈哈", `color: #3190e8; font-size: 30px; font-weight: bold; font-family: kaiti`);
  console.info("%c哈哈", `color: red; font-size: 30px; font-weight: bold; font-family: kaiti`);
</script>

</html>